package org.hhgzs.modules.erp.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.RequiredArgsConstructor;
import org.hhgzs.modules.erp.entity.SerialNumber;
import org.hhgzs.modules.erp.mapper.SerialNumberMapper;
import org.hhgzs.modules.erp.service.SerialNumberService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.hhgzs.modules.erp.vo.SerialNumberVo;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 序列号表 服务实现类
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
@Service
@RequiredArgsConstructor
public class SerialNumberServiceImpl extends ServiceImpl<SerialNumberMapper, SerialNumber> implements SerialNumberService {
    private final  SerialNumberMapper serialNumberMapper;
    @Override
    public IPage<SerialNumberVo>  page(Page<SerialNumberVo> page, QueryWrapper<SerialNumberVo> queryWrapper){
        return serialNumberMapper.selectPage(page,queryWrapper);
    }
}
